<?php 
	$numberOpening = countNumberShowOfStatus('opening') > 0 ? " ( ".countNumberShowOfStatus('opening'). " )" : '';
	$numberPending = countNumberShowOfStatus('pending') > 0 ? " ( ".countNumberShowOfStatus('pending'). " )" : '';
	$numberClosed = countNumberShowOfStatus('closed') > 0 ? " ( ".countNumberShowOfStatus('closed'). " )" : '';
	$numberCancelled = countNumberShowOfStatus('cancelled') > 0 ? " ( ".countNumberShowOfStatus('cancelled'). " )" : '';
?>
<nav id="shortcuts" style="padding:0;">
	<ul>
		<li><?php echo anchor('admin/dataman/show/opening'	, "Opening $numberOpening"); ?></li>
		<li><?php echo anchor('admin/dataman/show/pending'	, "Pending $numberPending"); ?></li>
		<li><?php echo anchor('admin/dataman/show/closed'	, "Closed $numberClosed"); ?></li>
		<li><?php echo anchor('admin/dataman/show/cancelled'	, "Cancelled $numberCancelled"); ?></li>
	</ul>
	<br class="clear-both" />
</nav>